//
//  ViewController.swift
//  SlideMenuControllerTest
//
//  Created by ninevcat on 2017/9/1.
//  Copyright © 2017年 ninevcat. All rights reserved.
//

import UIKit

class ViewController: UIViewController {
    
    var mainViewController: UIViewController!
    var leftViewController: UIViewController!
    
    override func awakeFromNib() {
        if let controller = self.storyboard?.instantiateViewController(withIdentifier: "MainViewController") {
            self.mainViewController = controller
        }
        if let controller = self.storyboard?.instantiateViewController(withIdentifier: "LeftViewController") {
            self.leftViewController = controller
        }
        super.awakeFromNib()
    }
    
    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }


}

